package xgenerator.ui.swing.model;

import javax.swing.DefaultComboBoxModel;

import xgenerator.constants.ComponentTypes;

public class ComponentTypeComboBoxModel extends DefaultComboBoxModel implements ComponentTypes {

	/**
	 * 序列化
	 */
	private static final long serialVersionUID = 1L;
	
	public ComponentTypeComboBoxModel() {
		this.addElement(TEXT_FIELD);
		this.addElement(DATE_FIELD);
		this.addElement(NUMBER_FIELD);
		this.addElement(TEXT_AREA);
		this.addElement(RICH_TEXT_EDITOR);
		this.addElement(CHECKBOX);
		this.addElement(RADIO_BUTTON);
		this.addElement(FILE_FIELD);
		this.addElement(HIDDEN);
		this.addElement(IMAGE_FIELD);
		this.addElement(PASSWORD_FIELD);
		this.addElement(BUTTON);
		this.addElement(RESET_BUTTON);
		this.addElement(SUBMIT_BUTTON);
	}
	
}
